<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>SweatShop - Ticket management system v 0.1</title>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<base href="<?php echo $this->baseUrl; ?>">
        <link rel="icon" type="image/png" href="img/note_pinned.png">

		<?php
			echo '<link rel="stylesheet" type="text/css" href="http://localhost/lib/ext/latest/resources/css/ext-all.css">',
				'<link rel="stylesheet" type="text/css" href="http://localhost/lib/ext/latest/resources/css/xtheme-gray.css">',
				'<link rel="stylesheet" type="text/css" href="http://localhost/lib/css/iconcss.php">',
				'<link rel="stylesheet" type="text/css" href="css/styles.css">';
		?>
	</head>
	<body>
		<noscript>
			<div id="noscript-mask"></div>
			<div id="noscript">
				<div class="noscript-headline">SweatShop - Ticket management system</div>
				<div class="noscript-indicator">Javascript <b>must!</b> be enabled in order to this application to work<br /></div>
			</div>
		</noscript>
		<div id="loading-mask"></div>
		<div id="loading">
			<div class="loading-indicator">
				Loading...
			</div>
			<div class="prograss-indicator" id="prograss-indicator">
				<p>Loading resourses... <span id="prograss-ready-indicator" class="hidden">done</span></p>
                <p id="preloader" class="hidden"></p>
			</div>
		</div>
		<div id="loginWindowContainer"></div>
		<?php
		echo '<script type="text/javascript" src="http://localhost/lib/ext/latest/adapter/ext/ext-base-debug.js"></script>';
		echo '<script type="text/javascript" src="http://localhost/lib/ext/latest/ext-all-debug.js"></script>';
		echo '<script type="text/javascript" src="lib/Ext.extensions.js"></script>';
		echo '<script type="text/javascript" src="lib/storeCollection.js"></script>';
		echo '<script type="text/javascript" src="lib/vtypes.js"></script>';
		echo '<script type="text/javascript" src="lib/gridRenderers.js"></script>';

		foreach($this->jsList as $aScript)
		{
			echo '<script type="text/javascript" src="main/jsElement/script:', $aScript, '"></script>', "\n";
		}
		foreach($this->jsUiList as $aScript)
		{
			echo '<script type="text/javascript" src="main/jsFunctionality/script:', $aScript, '"></script>', "\n";
		}
		?>
	</body>
</html>
